<include file="public@header" />
</head>
<body style="background-color: #E5F3E6">
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('dangerinfo/dangerIndex')}">风险点信息</a></li>
			<li><a href="{:url('dangerinfo/dangerAdd')}">添加风险点信息</a></li></li>
		</ul>
		<form class="well form-inline margin-top-20" method="get" 
    	action="{:url('dangerinfo/dangerIndex')}">
            风险点所属机构:
            <div class="form-group">
			<div class="col-md-6 col-sm-10">
				<select class="form-control" name="departID" id="departID">
					{$select_category}
				</select>
			</div>
		</div>
            <input type="submit" class="btn btn-primary" value="搜索" />
        </form>
		<form action="" method="post" class="margin-top-20">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="40">序号</th>
						<th align="left">风险点名称</th>
						<th align="left">所属部门</th>
						<!-- <th align="left">设备名称</th> -->
						<!-- <th align="left">作业场所</th> -->
						<!-- <th align="left">作业活动</th> -->

						<th align="left">危害因素</th>
						<th align="left">事故类型</th>
						<th align="left">控制措施</th>
						<th align="left">风险级别</th>
						<th align="left">备注</th>
						<th width="160">{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="dangerinfoData" item="vo">
					<tr>
						<td>{$vo.dangerID}</td>
						<td>{$vo.dangerName}</td>
						<td>{$vo.name}</td>

						<td>{$vo.dangerInfo}</td>
						<td>{$vo.accidentStand}</td>
						<td>{$vo.accidentMeasures}</td>
						<td>{$vo.dangerLevel}</td>
						<td>{$vo.memos}</td>
						<td>
							<a class="btn btn-xs btn-primary" href="{:url('dangerinfo/dangerEdit',array('dangerID'=>$vo['dangerID']))}">{:lang('EDIT')}</a>
							<!--js-ajax-delete-->
							<a class="btn btn-xs btn-danger js-ajax-delete"
							 href="{:url('dangerinfo/dangerDelete',array('dangerID'=>$vo['dangerID']))}" data-msg="确定删除它吗？">{:lang('DELETE')}</a>
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>